<?php
$name = $event->name;
$startTime = $event->startTime;
$endTime = $event->endTime;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
?>

<div style="font-family: 微软雅黑; font-size: 14px; line-height: 28px">
    <div style="text-align: center;margin-bottom: 4px;padding:0 1px;">
        <img src="<?php echo Yii::app()->request->baseUrl; ?>/images/mobile/tou2.gif" style="width:100%; height:130px;"/>
    </div>
    <div style="border: 1px solid #dedede; padding: 0 10px; background-color: white; margin: 10px;">
        <div style="font-weight: bold; color:blueviolet;">Name： <?php echo $name; ?></div>
    </div>
    <div style="border: 1px solid #dedede; padding: 0 10px; background-color: white; margin: 10px;">
        <div style="font-weight: bold;">Start Time： <?php echo $startTime; ?></div>
    </div>
    <div style="border: 1px solid #dedede; padding: 0 10px; background-color: white; margin: 10px;">
        <div style="font-weight: bold;">End Time： <?php echo $endTime; ?></div>
    </div>

    <div style="border: 1px solid #dedede; padding: 0 10px; background-color: white; margin: 10px;">
        <div style="padding: 10px 0; background: url(<?php echo Yii::app()->request->baseUrl; ?>/images/mobile/go.png) no-repeat right center;">
            <p>
                <?php echo $control->getLink(array('name' => 'show ' . $name, 'id' => 'showMessageList'), array('parentEventId' => $event->id, 'messageListView' => 'myPools_messageList', 'htmlOptions' => array('enctype' => 'multipart/form-data', 'class' => 'btn'))); ?>
            </p>
        </div>
    </div>
</div>

<!--<div id="share">
 JiaThis Button BEGIN <div id="ckepop">
<span class="jiathis_txt">分享到：</span>
<a class="jiathis_button_weixin">微信</a> 
<a href="http://www.jiathis.com/share"  class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a>
<a class="jiathis_counter_style"></a> </div> 
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1" charset="utf-8"></script>
</div>  JiaThis Button END -->